package org.study;

public class FunctionClazz {

    public void spe(SpecificDo<Integer, FunctionClazz> dox) {
        FunctionClazz fc = new FunctionClazz();
        dox.test(fc, 1);
    }

    public void same(Integer age) {
        System.out.println(age);
    }

    public interface SpecificDo<R, P> {
        void test(P param, R parma1);

        public class hj {

        }

        default void show() {
            System.out.println("牛逼");
        }
    }

    public static void main(String[] args) {
        FunctionClazz exp = new FunctionClazz();
        exp.spe(FunctionClazz::same);
    }
}
